package com.example.retrofit;

import com.example.common.JsonResult;
import com.example.domain.Admin;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by jianweilin on 16/9/8.
 */
public interface AdminApi {
    @GET("/admin/get")
    Call<JsonResult<Admin>> get(@Query("name") String name, @Query("password") String password);
}
